import request from './request.js'

// 用户登录
export const login = (data) => request.post("/user/login/", data)

// 用户注册
export const register = (data) => request.post("/user/register/", data)

// 获取用户信息get
export const getUserInfo = (data) => request.get('/user/userview/')

// 获取用户今日操作记录
export const getUserTodayCount = () => request.get("/user/userTodayCount/")

// 获取用户操作记录
export const getUserOperationCount = (params) => request.get("/userOperation/systemOperationTimes/", params)
